﻿using System;

namespace ThreeDContentPipeline
{
    public class Texture2DWriter : ContentTypeWriter<Texture2DContent>
    {
        public override void Write(Texture2DContent value, ContentWriter writer)
        {
            writer.Write(value.Image.Bytes);
        }

        public override string ContentReaderName()
        {
            return "ThreeDWorld.Texture2DReader, ThreeDWorld";
        }
    }
}
